package com.leanyuan.check.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.leanyuan.check.dao.TRoleMapperOne;
import com.leanyuan.check.domain.TRole;
import com.leanyuan.check.dto.TRoledto;
import com.leanyuan.check.service.TRoleServiceOne;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 相亲相爱一家人
 * @since 2021-05-25
 */
@Service
public class TRoleServiceOneImpl extends ServiceImpl<TRoleMapperOne, TRole> implements TRoleServiceOne {
    @Autowired
    TRoleMapperOne tRoleMapperOne;

    @Override
    public List<TRoledto> selectTRole() {
        return this.tRoleMapperOne.selectTRole();
    }
}
